package com.ljy.springcloud.pojo;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @author ljy
 * @create 2020-10-30-10:01
 */
@Data
@NoArgsConstructor
@Accessors(chain = true) //链式写法
public class Dept implements Serializable {
    private Long deptno;
    private String dename;
    private String db_source;

    public Dept(String dename) {
        this.dename = dename;
    }
}
